﻿using RabbitMQ.Client;
using System;

namespace EventBus.RabbitMQ
{
    public class RabbitMqOptions
    {
        /// <summary>
        /// 
        /// </summary>
        public string HostName { get; set; } = "localhost";

        /// <summary>
        /// 
        /// </summary>
        public string Password { get; set; } = "guest";

        /// <summary>
        /// 
        /// </summary>
        public string UserName { get; set; } = "guest";

        /// <summary>
        /// 
        /// </summary>
        public string VirtualHost { get; set; } = "/";

        /// <summary>
        /// 
        /// </summary>
        public int Port { get; set; } = -1;

        /// <summary>
        /// 
        /// </summary>
        public Action<ConnectionFactory> ConnectionFactoryOptions { get; set; }
    }
}